home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 43 / Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso / -serious- / wb / backclock / sources / control.c < prev    next >
Text File  |  1999-06-15  |  311b  |  12 lines

  1. void waitSynchro()
  2.   printf("Attente synchro\n") ;
  3.   ITRead(&sync, sizeof(struct trameSync)) ;
  4.   printf("Synchro\t\t:$%lx\n", sync.sync) ;
  5.   printf("TailleComm\t:$%lx\n", sync.tailleTCom) ;
  6.   sendACK() ;
  7. }
  8. void sendACK() {
  9.   printf("Envoi ACK\n") ;
  10.   ack.ack=0x41434b24;
  11.   ITWrite(&ack, sizeof(struct TAck)) ;
  12. }